package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(100)"`
}
type Role struct {
	gorm.Model
	RoleName string `gorm:"type:varchar(50)"`
}
type Quan struct {
	gorm.Model
	QuanName string `gorm:"type:varchar(50)"`
}
type UserRole struct {
	gorm.Model
	UserID int `gorm:"type:int"`
	RoleID int `gorm:"type:int"`
}
type RoleQuan struct {
	gorm.Model
	RoleID int `gorm:"type:int"`
	QuanID int `gorm:"type:int"`
}
type Cc struct {
	Aa int
	Bb string
}
